﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RoccaStore.Services
{
    public interface ISlugService
    {
        Slug GetByID(int id);
        Slug GetByName(string name);
        List<Slug> GetByParent(string name);
        List<Slug> GetByParent(int id);

        Slug CreateSlug(string title, int? fileId);

        int Save(Slug slug);

        void Delete(int id);      
    }
}
